Skip to content

Conversation

magnustymoteus
Copy link
Contributor

This Pull request:

Changes or fixes:

This PR adds a new directory treemap in /gui/ with the following features:

  • Logic for generating treemap
  • Drawing a treemap on a TVirtualPad
    • This is the non-interactive version without web graphics (interactive JS treemaps will be in a separate PR)
  • Importing the treemap given an RNTuple
  • CMakeLists.txt that makes this a root library ROOTTreeMap
    • Should this be renamed to ROOTTreeMapv7?
    • Should this file be moved to a separate "CMake integration" PR?
  • LinkDef.h so that the treemap structure can be encoded to JSON for use in JS

Checklist:

  • tested changes locally
  • updated the docs (if necessary)

Copy link

github-actions bot commented Aug 26, 2025

Test Results

    20 files      20 suites   3d 23h 44m 7s ⏱️
 3 648 tests  3 644 ✅   0 💤 4 ❌
71 278 runs  71 067 ✅ 207 💤 4 ❌

For more details on these failures, see this check.

Results for commit 09a2f55.

♻️ This comment has been updated with latest results.

@magnustymoteus magnustymoteus force-pushed the treemap-c++ branch 2 times, most recently from 3bce25d to cde8a6a Compare August 26, 2025 15:14
Copy link
Contributor

@silverweed silverweed left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

@magnustymoteus magnustymoteus force-pushed the treemap-c++ branch 2 times, most recently from 6443168 to ab807f9 Compare August 27, 2025 12:37
@magnustymoteus
Copy link
Contributor Author

Some changes I made:

  • Removed the clad thing from CMakeLists.txt
  • Additional static Import method with RNTupleInspector as argument (needed for the non-web TBrowser)
  • General code cleanup (e.g push -> emplace)

@magnustymoteus magnustymoteus force-pushed the treemap-c++ branch 2 times, most recently from 3b19020 to cd1ae96 Compare August 29, 2025 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants